#pragma once

#define BYTEBITS 8

class BitString
{
	private:
		char* _bitstr;
		byte _lenght;

	public:
		BitString(int lenght);
		~BitString(void);

		bool getBit(int n);
		void setBit(int n, bool b);
		void flipBit(int n);
		ulong toUlong();
};

